package com.party.mapper;

import com.party.model.ExcellentParty;
import com.party.model.ExcellentPartyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ExcellentPartyMapper {
    int countByExample(ExcellentPartyExample example);

    int deleteByExample(ExcellentPartyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ExcellentParty record);

    int insertSelective(ExcellentParty record);

    List<ExcellentParty> selectByExampleWithBLOBs(ExcellentPartyExample example);

    List<ExcellentParty> selectByExample(ExcellentPartyExample example);

    ExcellentParty selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ExcellentParty record, @Param("example") ExcellentPartyExample example);

    int updateByExampleWithBLOBs(@Param("record") ExcellentParty record, @Param("example") ExcellentPartyExample example);

    int updateByExample(@Param("record") ExcellentParty record, @Param("example") ExcellentPartyExample example);

    int updateByPrimaryKeySelective(ExcellentParty record);

    int updateByPrimaryKeyWithBLOBs(ExcellentParty record);

    int updateByPrimaryKey(ExcellentParty record);


    /**
     *  自定义方法
     */
    public List<ExcellentParty> getListPage(ExcellentPartyExample example);


    public List<ExcellentParty> getAllExcellentParty(ExcellentPartyExample example);

    public List<ExcellentParty> getListPageByCustorm(ExcellentParty excellentParty);

}